(setq default-frame-alist '((fullscreen . maximized))
      no-littering-etc-directory (expand-file-name "config" user-emacs-directory)
      no-littering-var-directory (expand-file-name "system" user-emacs-directory)
      custom-file (expand-file-name "custom" no-littering-var-directory)
      qrthi/directory-media (expand-file-name "~/media")
      qrthi/directory-downloads (expand-file-name "~/downloads")
      qrthi/directory-documents (expand-file-name "~/documents"))

(defun load-directory (dir)
  (let ((load-it (lambda (file)
		   (load-file (concat (file-name-as-directory dir) file)))))
    (mapc load-it (directory-files dir nil "\\.elc$"))))

(require 'no-littering)
(require 'use-package)
(require 'diminish)
(require 'bind-key)

(load-directory no-littering-etc-directory)
